package com.example.eurekacomsumerfeign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignController {

    @Autowired
    FeignBiz feignBiz;

    @GetMapping("consumer")
    public String doFeign() {
        return feignBiz.consumer();
    }


}
